x11: Explicitly close_async() the output stream
authorBenjamin Otte <otte@redhat.com>
Mon, 13 Dec 2021 00:43:24 +0000 (01:43 +0100)
committerBenjamin Otte <otte@redhat.com>
Mon, 13 Dec 2021 00:51:35 +0000 (01:51 +0100)
commit66f1fef0830337de50731d0e44d5f1b133fe5208
treeafe0ef9a9a47e43dd07aa4733d03f52e4e8a22cf
parent645d4807c3ab0b6ac20cb08f16f39893a95bd2f2
x11: Explicitly close_async() the output stream

We need to be very careful when writing data, because if we aren't, sync
functions will be called on the output stream and X11 does not like that
at all.
gdk/x11/gdkclipboard-x11.c
gdk/x11/gdkdrag-x11.c